import request from '@/router/axios';
import { baseUrl } from '@/config/env';
export const listOperate = (data) => request({
    url: baseUrl + '/sys/sysOperateLog/page',
    method: 'post',
    data: data
});
export const delAllOperate = () => request({
    url: baseUrl + '/sys/sysOperateLog/all',
    method: 'delete',
});

export const delOperate = (ids) => request({
    url: baseUrl + '/sys/sysOperateLog/' + ids,
    method: 'delete',
});
export const updateRole = (data) => request({
    url: baseUrl + '/sys/sysOperateLog',
    method: 'put',
    data: data
});

